]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Make the device section headers not bold
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 6 Jun 2013 19:15:12 +0000 (15:15 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 28 Jul 2013 19:39:39 +0000 (15:39 -0400)
The new device section headers will be simple text strings
in the new designs.

This is a part of the new system status design, see
https://wiki.gnome.org/GnomeShell/Design/Guidelines/SystemStatus/
for design details.

https://bugzilla.gnome.org/show_bug.cgi?id=704670

data/theme/gnome-shell.css
js/ui/status/network.js

index 749936d817095c623001216a87c15d669f2c0940..fb453c06911b5f1f30a8a52aba6ddd9969c2ce25 100644 (file)
@@ -234,11 +234,6 @@ StScrollBar StButton#vhandle:active {
     color: white;
 }
 
-.popup-subtitle-menu-item, .popup-subtitle-menu-item:insensitive {
-    font-weight: bold;
-    color: white;
-}
-
 .popup-menu-icon {
     icon-size: 1.09em;
 }
index a86062828a6c5a340ba1b109d7e444f6bd7e0dff..f13889370b9d0f74d5ae93d974ae2863c447883d 100644 (file)
@@ -180,7 +180,7 @@ const NMDevice = new Lang.Class({
         this._activeConnectionItem = null;
         this._overflowItem = null;
 
-        this.statusItem = new PopupMenu.PopupSwitchMenuItem('', this.connected, { style_class: 'popup-subtitle-menu-item' });
+        this.statusItem = new PopupMenu.PopupSwitchMenuItem('', this.connected);
         this._statusChanged = this.statusItem.connect('toggled', Lang.bind(this, function(item, state) {
             let ok;
             if (state)
@@ -1245,8 +1245,7 @@ const NMVPNConnectionItem = new Lang.Class({
         this._activeConnection = null;
         this._activeConnectionChangedId = 0;
 
-        this.menuItem = new PopupMenu.PopupSwitchMenuItem(connection.get_id(), false,
-                                                          { style_class: 'popup-subtitle-menu-item' });
+        this.menuItem = new PopupMenu.PopupSwitchMenuItem(connection.get_id(), false);
         this.menuItem.connect('toggled', Lang.bind(this, this._toggle));
 
         this._sync();